home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Handler / c / DragNULL < prev    next >
Text File  |  1995-07-09  |  639b  |  23 lines

  1. #include "DeskLib:Wimp.h"
  2. #include "DeskLib:Drag.h"
  3. #include "DeskLib:Handler.h"
  4.  
  5. /*  Attach this handler to NULL events while dragging, after registering your
  6.  *  handlers with Drag_SetHandlers (See drag.h)
  7.  *  Note that this handler is of little use without also attaching the
  8.  *  DragFinish handler as well.
  9.  *  If you're using the event_ sublibrary, then use Drag_Initialise to attach
  10.  *  these handlers for you.
  11.  */
  12.  
  13. extern BOOL Handler_DragNULL(event_pollblock *event, void *reference)
  14. {
  15.   UNUSED ( reference);
  16.   UNUSED ( event);
  17.   
  18.   if (drag_currentupdate != NULL)
  19.     drag_currentupdate(drag_currentuserdata);
  20.  
  21.   return(FALSE);
  22. }
  23.